import inquirer from "inquirer";
import chalk from "chalk";
import { deployQuestions } from "./command.js";

const deployInteract = async () => {
  return inquirer
    .prompt(deployQuestions)
    .then((answers) => {
      return answers;
    })
    .catch((error) => {
      chalk.red(error);
      return error;
    });
};

export default deployInteract;
